package com.helmlabs.grouper.cms.view;

import java.io.OutputStream;
import java.util.Map;

import com.helmlabs.grouper.cms.model.Page;

public abstract class AbstractView {
	
	protected String theme;
	
	public void init(Map config){
		if (config!=null && config.get("theme")!=null){
			theme = (String)config.get("theme");
		}
	}
	
	public abstract OutputStream render(Page obj, Map config);

}
